package javaweb.servlet;

import javaweb.pojo.Book;
import javaweb.pojo.Page;

import java.util.List;

/**
 * @author shkstart
 * @creat -07-26 22:08
 */
public interface BookServlet {
public void addBook(Book book);
public void detleteBookId(Integer id);
public void upDateBook(Book book);
public Book queryBookId(Integer id);
public List<Book> qurtyBooks();
Page<Book> page(int pageNo,int pageSize);

    Page<Book> pageByPrice(int pageNo, int pageSize, int min, int max);
}
